<div class="comments form">
	<h2><?php echo __d('comments','Edit Comment'); ?></h2>
	<div class="clear"></div>
	<div class="actions selected">
		<?php 
				$domain_id = $this->Form->value('Comment.domain_id'); if(!empty($domain_id)) echo $this->Html->link(__d('comments','Cancel'), array('controller'=>'domains','action' => 'view',$domain_id,'d'=>'comments'),array('class'=>'action-left'));
				echo $this->Form->postLink(__d('comments','Delete'), array('action' => 'delete', $this->Form->value('Comment.id'),'d'=>$domain_id), array('style'=>'margin-right: 25px;','class'=>'action-right'), __d('comments','Are you sure you want to delete # %s?', $domain_id));
		?>
		
	</div>
	<div class="clear"></div>
<?php echo $this->Form->create('Comment');?>
	<fieldset>
	<?php
		echo $this->Form->input('id');

		echo $this->Form->input('title');
		echo $this->Form->input('content');
		echo $this->Form->input('status');
		echo $this->Form->input('Article');
		echo $this->Form->input('Post');
		echo $this->Form->input('domain_id');
		echo $this->Form->input('user_id');		
	?>
	</fieldset>
<?php echo $this->Form->end(__d('comments','Submit'));?>
</div>
<?php echo $this->element('/menu/left')?>